﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    [Serializable()]
    public class User
    {
        public string UserName { set; get; }

        public MouseStats MouseStats { set; get; }

        public KeyStats KeyStats { set; get; }

        public ClipboardStats ClipboardStats { set; get; }

        public ProgStats ProgStats { set; get; }

        public User(string username)
        {
            this.UserName = username;
            this.MouseStats = new MouseStats();
            this.KeyStats = new KeyStats();
            this.ClipboardStats = new ClipboardStats();
        }

        public override string ToString()
        {
            // string s = "Login: " + UserName + "\r\nKeyStats:\r\n" + KeyStats.ToString() + "\r\nMouseStats:\r\n" + MouseStats.ToString()+"\r\nClipboardStats:\r\n"+ClipboardStats.ToString()+"\r\n";
            string s = "KeyStats:\r\n" + KeyStats.ToString() + "\r\nMouseStats:\r\n" + MouseStats.ToString() + "\r\nClipboardStats:\r\n" + ClipboardStats.ToString() + "\r\n";
            return s;
        }
    }
}
